package com.ericsson.enap.modules.backup.mapper;

import com.ericsson.enap.modules.sys.entity.EnipNetelement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: ImsDataBackupMapper接口类
 * @author: wangjingshi
 * @create: 2021-04-19 10:05
 */
@Mapper
public interface ImsDataBackupMapper {

    List<EnipNetelement> queryNetelementList(@Param("bizType") Integer bizType, @Param("collectorIp") String collectorIp);

    void insertBackupTable(@Param("absolutePath")String absolutePath, @Param("zipFileName")String zipFileName,
                           @Param("netName")String netName,@Param("netId") Long netId,@Param("netType") Long netType,
                           @Param("fileSize")String fileSize,@Param("fileType")String fileType);

    void deleteOldDataByFileType(@Param("cleanDate")String cleanDate,@Param("fileType")String fileType);

    void deleteOldDumpsData(@Param("cleanDate")String cleanDate);

    void deleteOldData(@Param("cleanDate")String cleanDate);
}
